<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ～ ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~{$year} http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------
// you should use `$router`
/* @var think\Route $router */
$router->group('report', function () use($router) {
    // 报关单路由
    //列表
    $router->post('declaration/index', 'catchAdmin\\report\\controller\\Declaration@index');
    //添加
    $router->post('declaration/create', 'catchAdmin\\report\\controller\\Declaration@create');
    //修改
    $router->post('declaration/update', 'catchAdmin\\report\\controller\\Declaration@update');
    //删除
    $router->post('declaration/delete', 'catchAdmin\\report\\controller\\Declaration@delete');
})->middleware('auth');
 //导入
$router->post('report/declaration/importDeclaration', 'catchAdmin\\report\\controller\\Declaration@importDeclaration');